﻿#pragma once
#include "common_data.h"
#include "json_trans.h"

enum class RobotBrand {
	robot_brand_test = 0,		// 测试
	robot_brand_kuka,			// 库卡
	robot_brand_abb,			// ABB


	robot_brand_max
};

struct GripParam {

};

struct RobotParam {
	QString id;
	QString ip;
	int statusPort;
	int cmdPort;
	Position base;
};


json_struct(Joints,
	mapping(float, joint1);
mapping(float, joint2);
mapping(float, joint3);
mapping(float, joint4);
mapping(float, joint5);
mapping(float, joint6);
prop(&joint1, &joint2, &joint3, &joint4, &joint5, &joint6);
)
